.class public final Lcom/ninesky/browser/user/g;
.super Ljava/lang/Object;


# static fields
.field private static b:Lcom/ninesky/browser/user/g;


# instance fields
.field private final a:Z

.field private c:Landroid/content/Context;

.field private d:Ljava/lang/String;

.field private e:Ljava/lang/String;

.field private f:Ljava/lang/String;

.field private g:Ljava/lang/String;

.field private h:Ljava/lang/String;

.field private i:Ljava/lang/String;

.field private j:Ljava/lang/String;

.field private k:Lcom/ninesky/browser/a/s;

.field private l:Lcom/ninesky/browser/a/i;

.field private m:Lcom/ninesky/browser/a/r;

.field private n:Lcom/ninesky/browser/a/l;


# direct methods
.method private constructor <init>(Landroid/content/Context;)V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/ninesky/browser/user/g;->a:Z

    const-string v0, ""

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->d:Ljava/lang/String;

    const-string v0, ""

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->e:Ljava/lang/String;

    const-string v0, ""

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->f:Ljava/lang/String;

    const-string v0, ""

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->g:Ljava/lang/String;

    const-string v0, ""

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->h:Ljava/lang/String;

    const-string v0, ""

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->i:Ljava/lang/String;

    const-string v0, ""

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->j:Ljava/lang/String;

    iput-object p1, p0, Lcom/ninesky/browser/user/g;->c:Landroid/content/Context;

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "implicitly_login_count"

    invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "register_count"

    invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "update_device_count"

    invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "explicit_login_count"

    invoke-interface {v0, v1}, Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method

.method public static a(Landroid/content/Context;)Lcom/ninesky/browser/user/g;
    .locals 1

    sget-object v0, Lcom/ninesky/browser/user/g;->b:Lcom/ninesky/browser/user/g;

    if-nez v0, :cond_0

    new-instance v0, Lcom/ninesky/browser/user/g;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/user/g;-><init>(Landroid/content/Context;)V

    sput-object v0, Lcom/ninesky/browser/user/g;->b:Lcom/ninesky/browser/user/g;

    :cond_0
    sget-object v0, Lcom/ninesky/browser/user/g;->b:Lcom/ninesky/browser/user/g;

    return-object v0
.end method

.method private a(I)V
    .locals 2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "register_count"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method

.method static synthetic a(Lcom/ninesky/browser/user/g;)V
    .locals 2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->i()I

    move-result v0

    const/4 v1, 0x3

    if-ge v0, v1, :cond_0

    add-int/lit8 v0, v0, 0x1

    invoke-direct {p0, v0}, Lcom/ninesky/browser/user/g;->a(I)V

    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/ninesky/browser/user/g;Ljava/lang/String;)V
    .locals 2

    iput-object p1, p0, Lcom/ninesky/browser/user/g;->g:Ljava/lang/String;

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "imei"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method

.method static synthetic b(Lcom/ninesky/browser/user/g;)Lcom/ninesky/browser/a/s;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->k:Lcom/ninesky/browser/a/s;

    return-object v0
.end method

.method private b(I)V
    .locals 2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "implicitly_login_count"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method

.method static synthetic b(Lcom/ninesky/browser/user/g;Ljava/lang/String;)V
    .locals 2

    iput-object p1, p0, Lcom/ninesky/browser/user/g;->h:Ljava/lang/String;

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "imsi"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method

.method public static c()Lcom/ninesky/browser/user/g;
    .locals 1

    sget-object v0, Lcom/ninesky/browser/user/g;->b:Lcom/ninesky/browser/user/g;

    return-object v0
.end method

.method private c(I)V
    .locals 2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "update_device_count"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method

.method static synthetic c(Lcom/ninesky/browser/user/g;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/ninesky/browser/user/g;->a(I)V

    return-void
.end method

.method static synthetic c(Lcom/ninesky/browser/user/g;Ljava/lang/String;)V
    .locals 2

    iput-object p1, p0, Lcom/ninesky/browser/user/g;->i:Ljava/lang/String;

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "mac"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method

.method static synthetic d(Lcom/ninesky/browser/user/g;)Ljava/lang/String;
    .locals 1

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->l()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private d(I)V
    .locals 2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "explicit_login_count"

    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method

.method static synthetic e(Lcom/ninesky/browser/user/g;)Ljava/lang/String;
    .locals 1

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->m()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic f(Lcom/ninesky/browser/user/g;)Ljava/lang/String;
    .locals 1

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->n()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic g(Lcom/ninesky/browser/user/g;)V
    .locals 2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->j()I

    move-result v0

    const/4 v1, 0x3

    if-ge v0, v1, :cond_0

    add-int/lit8 v0, v0, 0x1

    invoke-direct {p0, v0}, Lcom/ninesky/browser/user/g;->b(I)V

    :cond_0
    return-void
.end method

.method static synthetic h(Lcom/ninesky/browser/user/g;)Lcom/ninesky/browser/a/i;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->l:Lcom/ninesky/browser/a/i;

    return-object v0
.end method

.method private i()I
    .locals 3

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->p()Landroid/content/SharedPreferences;

    move-result-object v0

    const-string v1, "register_count"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method static synthetic i(Lcom/ninesky/browser/user/g;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/ninesky/browser/user/g;->b(I)V

    return-void
.end method

.method private j()I
    .locals 3

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->p()Landroid/content/SharedPreferences;

    move-result-object v0

    const-string v1, "implicitly_login_count"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method static synthetic j(Lcom/ninesky/browser/user/g;)V
    .locals 2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->k()I

    move-result v0

    const/4 v1, 0x3

    if-ge v0, v1, :cond_0

    add-int/lit8 v0, v0, 0x1

    invoke-direct {p0, v0}, Lcom/ninesky/browser/user/g;->c(I)V

    :cond_0
    return-void
.end method

.method private k()I
    .locals 3

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->p()Landroid/content/SharedPreferences;

    move-result-object v0

    const-string v1, "update_device_count"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method static synthetic k(Lcom/ninesky/browser/user/g;)Lcom/ninesky/browser/a/r;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->m:Lcom/ninesky/browser/a/r;

    return-object v0
.end method

.method private l()Ljava/lang/String;
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->g:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->c:Landroid/content/Context;

    const-string v1, "phone"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/telephony/TelephonyManager;

    invoke-virtual {v0}, Landroid/telephony/TelephonyManager;->getDeviceId()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->g:Ljava/lang/String;

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->g:Ljava/lang/String;

    if-nez v0, :cond_0

    const-string v0, ""

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->g:Ljava/lang/String;

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/user/g;->g:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic l(Lcom/ninesky/browser/user/g;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/ninesky/browser/user/g;->c(I)V

    return-void
.end method

.method private m()Ljava/lang/String;
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->h:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->c:Landroid/content/Context;

    const-string v1, "phone"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/telephony/TelephonyManager;

    invoke-virtual {v0}, Landroid/telephony/TelephonyManager;->getSubscriberId()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->h:Ljava/lang/String;

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->h:Ljava/lang/String;

    if-nez v0, :cond_0

    const-string v0, ""

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->h:Ljava/lang/String;

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/user/g;->h:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic m(Lcom/ninesky/browser/user/g;)V
    .locals 3

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->p()Landroid/content/SharedPreferences;

    move-result-object v0

    const-string v1, "explicit_login_count"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    const/4 v1, 0x3

    if-ge v0, v1, :cond_0

    add-int/lit8 v0, v0, 0x1

    invoke-direct {p0, v0}, Lcom/ninesky/browser/user/g;->d(I)V

    :cond_0
    return-void
.end method

.method static synthetic n(Lcom/ninesky/browser/user/g;)Lcom/ninesky/browser/a/l;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->n:Lcom/ninesky/browser/a/l;

    return-object v0
.end method

.method private n()Ljava/lang/String;
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->i:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->c:Landroid/content/Context;

    const-string v1, "wifi"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/wifi/WifiManager;

    invoke-virtual {v0}, Landroid/net/wifi/WifiManager;->getConnectionInfo()Landroid/net/wifi/WifiInfo;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Landroid/net/wifi/WifiInfo;->getMacAddress()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->i:Ljava/lang/String;

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/user/g;->i:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string v0, ""

    :goto_0
    iput-object v0, p0, Lcom/ninesky/browser/user/g;->i:Ljava/lang/String;

    :cond_1
    iget-object v0, p0, Lcom/ninesky/browser/user/g;->i:Ljava/lang/String;

    return-object v0

    :cond_2
    iget-object v0, p0, Lcom/ninesky/browser/user/g;->i:Ljava/lang/String;

    goto :goto_0
.end method

.method private o()Ljava/lang/String;
    .locals 3

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->d:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->p()Landroid/content/SharedPreferences;

    move-result-object v0

    const-string v1, "uid"

    const-string v2, ""

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->d:Ljava/lang/String;

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/user/g;->d:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic o(Lcom/ninesky/browser/user/g;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/ninesky/browser/user/g;->d(I)V

    return-void
.end method

.method static synthetic p(Lcom/ninesky/browser/user/g;)Landroid/content/SharedPreferences$Editor;
    .locals 1

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    return-object v0
.end method

.method private p()Landroid/content/SharedPreferences;
    .locals 3

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->c:Landroid/content/Context;

    const-string v1, "NSBrowser.UserManagement"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    return-object v0
.end method

.method private q()Landroid/content/SharedPreferences$Editor;
    .locals 1

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->p()Landroid/content/SharedPreferences;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public final a()Ljava/lang/String;
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->j:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/user/g;->f:Ljava/lang/String;

    goto :goto_0
.end method

.method public final a(Landroid/view/View;)V
    .locals 2

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->c:Landroid/content/Context;

    const-string v1, "input_method"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Landroid/view/inputmethod/InputMethodManager;

    if-eqz p0, :cond_0

    invoke-virtual {p0, p1}, Landroid/view/inputmethod/InputMethodManager;->isActive(Landroid/view/View;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p1}, Landroid/view/View;->getWindowToken()Landroid/os/IBinder;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    :cond_0
    return-void
.end method

.method final a(Ljava/lang/String;)V
    .locals 1

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, ""

    :goto_0
    iput-object v0, p0, Lcom/ninesky/browser/user/g;->j:Ljava/lang/String;

    return-void

    :cond_0
    move-object v0, p1

    goto :goto_0
.end method

.method final b()Ljava/lang/String;
    .locals 2

    invoke-virtual {p0}, Lcom/ninesky/browser/user/g;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    :goto_0
    return-object v0

    :cond_0
    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->o()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public final b(Landroid/content/Context;)V
    .locals 2

    invoke-virtual {p0}, Lcom/ninesky/browser/user/g;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/ninesky/browser/user/RegisterActivity;

    invoke-direct {v0, p1, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/user/g;->j:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/ninesky/browser/user/LoginActivity;

    invoke-direct {v0, p1, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    :cond_1
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/ninesky/browser/user/UserManagerActivity;

    invoke-direct {v0, p1, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto :goto_0
.end method

.method final b(Ljava/lang/String;)V
    .locals 1

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, ""

    :goto_0
    iput-object v0, p0, Lcom/ninesky/browser/user/g;->f:Ljava/lang/String;

    return-void

    :cond_0
    move-object v0, p1

    goto :goto_0
.end method

.method final c(Ljava/lang/String;)V
    .locals 3

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, ""

    :goto_0
    iput-object v0, p0, Lcom/ninesky/browser/user/g;->d:Ljava/lang/String;

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "uid"

    iget-object v2, p0, Lcom/ninesky/browser/user/g;->d:Ljava/lang/String;

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void

    :cond_0
    move-object v0, p1

    goto :goto_0
.end method

.method public final d()Ljava/lang/String;
    .locals 3

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->e:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->p()Landroid/content/SharedPreferences;

    move-result-object v0

    const-string v1, "user"

    const-string v2, ""

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->e:Ljava/lang/String;

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/user/g;->e:Ljava/lang/String;

    return-object v0
.end method

.method final d(Ljava/lang/String;)V
    .locals 3

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, ""

    :goto_0
    iput-object v0, p0, Lcom/ninesky/browser/user/g;->e:Ljava/lang/String;

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "user"

    iget-object v2, p0, Lcom/ninesky/browser/user/g;->e:Ljava/lang/String;

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void

    :cond_0
    move-object v0, p1

    goto :goto_0
.end method

.method public final e()V
    .locals 5

    invoke-static {}, Lcom/ninesky/browser/a/s;->f()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->o()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->i()I

    move-result v0

    const/4 v1, 0x3

    if-ge v0, v1, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->k:Lcom/ninesky/browser/a/s;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->k:Lcom/ninesky/browser/a/s;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/s;->i()V

    :cond_2
    new-instance v0, Lcom/ninesky/browser/a/s;

    iget-object v1, p0, Lcom/ninesky/browser/user/g;->c:Landroid/content/Context;

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->l()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->m()Ljava/lang/String;

    move-result-object v3

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->n()Ljava/lang/String;

    move-result-object v4

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/ninesky/browser/a/s;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->k:Lcom/ninesky/browser/a/s;

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->k:Lcom/ninesky/browser/a/s;

    new-instance v1, Lcom/ninesky/browser/user/c;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/user/c;-><init>(Lcom/ninesky/browser/user/g;)V

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/a/s;->a(Lcom/ninesky/a/a/a;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->k:Lcom/ninesky/browser/a/s;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/s;->h()V

    goto :goto_0
.end method

.method final e(Ljava/lang/String;)V
    .locals 3

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, ""

    :goto_0
    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->q()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "password"

    invoke-interface {v1, v2, v0}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void

    :cond_0
    new-instance v0, Lcom/ninesky/browser/user/j;

    invoke-direct {v0}, Lcom/ninesky/browser/user/j;-><init>()V

    invoke-virtual {p1}, Ljava/lang/String;->getBytes()[B

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/user/j;->a([B)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public final f()V
    .locals 3

    invoke-static {}, Lcom/ninesky/browser/a/i;->f()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->o()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->f:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->j()I

    move-result v0

    const/4 v1, 0x3

    if-ge v0, v1, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->l:Lcom/ninesky/browser/a/i;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->l:Lcom/ninesky/browser/a/i;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/i;->i()V

    :cond_2
    new-instance v0, Lcom/ninesky/browser/a/i;

    iget-object v1, p0, Lcom/ninesky/browser/user/g;->c:Landroid/content/Context;

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->o()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Lcom/ninesky/browser/a/i;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->l:Lcom/ninesky/browser/a/i;

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->l:Lcom/ninesky/browser/a/i;

    new-instance v1, Lcom/ninesky/browser/user/d;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/user/d;-><init>(Lcom/ninesky/browser/user/g;)V

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/a/i;->a(Lcom/ninesky/a/a/a;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->l:Lcom/ninesky/browser/a/i;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/i;->h()V

    goto :goto_0
.end method

.method public final g()V
    .locals 6

    invoke-static {}, Lcom/ninesky/browser/a/r;->f()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->o()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->k()I

    move-result v0

    const/4 v1, 0x3

    if-ge v0, v1, :cond_0

    const/4 v0, 0x0

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->p()Landroid/content/SharedPreferences;

    move-result-object v1

    const-string v2, "imei"

    const-string v3, ""

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, "imsi"

    const-string v4, ""

    invoke-interface {v1, v3, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string v4, "mac"

    const-string v5, ""

    invoke-interface {v1, v4, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->l()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->m()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->n()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_3

    :cond_2
    const/4 v0, 0x1

    :cond_3
    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->m:Lcom/ninesky/browser/a/r;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->m:Lcom/ninesky/browser/a/r;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/r;->i()V

    :cond_4
    new-instance v0, Lcom/ninesky/browser/a/r;

    iget-object v1, p0, Lcom/ninesky/browser/user/g;->c:Landroid/content/Context;

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->o()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->l()Ljava/lang/String;

    move-result-object v3

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->m()Ljava/lang/String;

    move-result-object v4

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->n()Ljava/lang/String;

    move-result-object v5

    invoke-direct/range {v0 .. v5}, Lcom/ninesky/browser/a/r;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->m:Lcom/ninesky/browser/a/r;

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->m:Lcom/ninesky/browser/a/r;

    new-instance v1, Lcom/ninesky/browser/user/e;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/user/e;-><init>(Lcom/ninesky/browser/user/g;)V

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/a/r;->a(Lcom/ninesky/a/a/a;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->m:Lcom/ninesky/browser/a/r;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/r;->h()V

    goto/16 :goto_0
.end method

.method public final h()V
    .locals 6

    invoke-static {}, Lcom/ninesky/browser/a/l;->f()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p0}, Lcom/ninesky/browser/user/g;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->j:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->n:Lcom/ninesky/browser/a/l;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->n:Lcom/ninesky/browser/a/l;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/l;->i()V

    :cond_2
    new-instance v0, Lcom/ninesky/browser/a/l;

    iget-object v1, p0, Lcom/ninesky/browser/user/g;->c:Landroid/content/Context;

    invoke-virtual {p0}, Lcom/ninesky/browser/user/g;->d()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0}, Lcom/ninesky/browser/user/g;->p()Landroid/content/SharedPreferences;

    move-result-object v3

    const-string v4, "password"

    const-string v5, ""

    invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string v4, "0"

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/ninesky/browser/a/l;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/ninesky/browser/user/g;->n:Lcom/ninesky/browser/a/l;

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->n:Lcom/ninesky/browser/a/l;

    new-instance v1, Lcom/ninesky/browser/user/f;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/user/f;-><init>(Lcom/ninesky/browser/user/g;)V

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/a/l;->a(Lcom/ninesky/a/a/a;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/g;->n:Lcom/ninesky/browser/a/l;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/l;->h()V

    goto :goto_0
.end method
